/**
 *  @file circularBoundingBox.h
 *
 *  @date 16-nov-2009
 *  @author Ives van der Flaas
 */

#ifndef CIRCULARBOUNDINGBOX_H_
#define CIRCULARBOUNDINGBOX_H_

#include "boundingBox.h"
#include "vector2.h"

namespace si
{
/**
 * A boundingbox consisting of only a circle. This will make it easy to test
 * for collicions against other circles.
 */
class CircularBoundingBox: public si::BoundingBox
{
public:
	CircularBoundingBox(Vector2 center, double radius): BoundingBox(center), fRadius(radius){}
	Vector2 getCenter() const { return fCenter; }
	double getRadius() const { return fRadius; }

private:
	double fRadius;
};

}

#endif /* CIRCULARBOUNDINGBOX_H_ */
